﻿@using Resources
@if (Request.IsAuthenticated)
{
    <text>
        <div class="navbar navbar-inverse navbar-fixed-top">
            <div class="container">
                <div class="navbar-header">
                    <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </button>
                    @Html.ActionLink("EmpTool", "Index", "Home", new { area = "" }, new { @class = "navbar-brand" })
                </div>
                <div class="navbar-collapse collapse">
                    <ul class="nav navbar-nav">
                        @*<li class="dropdown action menuitem">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Action <span class="caret"></span></a>
                            <ul class="dropdown-menu">
                                <li><a href="#">Action</a></li>
                                <li><a href="#">Another action</a></li>
                                <li><a href="#">Something else here</a></li>
                                <li role="separator" class="divider"></li>
                                <li><a href="#">Separated link</a></li>
                                <li role="separator" class="divider"></li>
                                <li><a href="#">One more separated link</a></li>
                            </ul>
                        </li>*@
                        <li class="dropdown">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Support <span class="caret"></span></a>
                            <ul class="dropdown-menu">
                                <li class="dropdown-header">Information</li>
                                <li>@Html.ActionLink(ViewStrings.Home, "Index", "Home")</li>
                                <li>@Html.ActionLink(ViewStrings.About, "About", "Home")</li>
                                <li>@Html.ActionLink(ViewStrings.Contact, "Contact", "Home")</li>
                                <li role="separator" class="divider"></li>
                                <li class="dropdown-header">Upcoming beta stuff</li>
                                <li>@Html.ActionLink(ViewStrings.Facility, "Index", "Facility")</li>
                            </ul>
                        </li>
                        <li class="dropdown">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Current User <span class="caret"></span></a>
                            <ul class="dropdown-menu">
                                @*
                                <li>@Html.ActionLink(ViewStrings.Home, "Index", "Home")</li>
                                <li>@Html.ActionLink(ViewStrings.About, "About", "Home")</li>
                                <li>@Html.ActionLink(ViewStrings.Contact, "Contact", "Home")</li>
                                <li role="separator" class="divider"></li>*@
                                <li class="dropdown-header">User Information</li>
                                <li>@Html.ActionLink("Profile", "Index", "Facility")</li>
                                <li>@Html.ActionLink("Change Password", "ChangePassword", "Manage")</li>
                                <li class="dropdown-header">Upcoming beta stuff</li>
                                <li class="disabled">@Html.ActionLink("Task List", "Index", "Facility")</li>
                                <li class="disabled">@Html.ActionLink("Kanban Board", "Index", "Facility")</li>
                            </ul>
                        </li>
                    </ul>
                    @Html.Partial("_LoginPartial")
                </div>
            </div>
        </div>
    </text>
}
else
{
    <text>
        <div class="navbar navbar-inverse navbar-fixed-top">
            <div class="container">
                <div class="navbar-header">
                    @*<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </button>*@
                    @Html.ActionLink("EmpTool", "Index", "Home", new { area = "" }, new { @class = "navbar-brand" })
                </div>
                <div class="navbar-collapse collapse">
                    @*<ul class="nav navbar-nav">
                        <li>@Html.ActionLink(ViewStrings.Home, "Index", "Home")</li>
                        <li>@Html.ActionLink(ViewStrings.About, "About", "Home")</li>
                        <li>@Html.ActionLink(ViewStrings.Contact, "Contact", "Home")</li>
                        <li>@Html.ActionLink(ViewStrings.Facility, "Index", "Facility")</li>
                    </ul>*@
                    @Html.Partial("_LoginPartial")
                </div>
            </div>
        </div>
    </text>
}
